package com.fbty.mt.service;

import javax.servlet.http.HttpSession;

import com.fbty.base.domain.Page;
import com.fbty.mt.domain.Item;

public interface ItemService {
	public int saveItem(int uid, int pid,double price,int days,boolean flag);
	
	public Page queryItems(int pageNo,int pageSize,Integer flag,int uid);
	public Page queryItems(int pageNo,int pageSize,Integer flag);
	
	public Item finItemById(int id);
	
	public void deleteItem(int id);
	
	public void updateItem(Item item);
	
	public void updateSure(int itemId,int uId,HttpSession session);
	public void updateSure(int itemId,HttpSession session);
	
	public Item findByNo(String itemNo)throws Exception;
	
	public int saveItem(Item item);
	
	public void doChangeItem(int itemId);
}
